package com.blrs.domain;

import com.blrs.common.annotation.Excel;
import com.blrs.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 问卷调查接收对象 questionnaire_reception
 * 
 * @author yang
 * @date 2023-11-27
 */
public class QuestionnaireReception extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 问卷调查id */
    @Excel(name = "问卷调查id")
    private String questionnaireId;

    /** 接收方客户管理企业id */
    @Excel(name = "接收方客户管理企业id")
    private String enterpriseId;

    /** 接收方id */
    @Excel(name = "接收方id")
    private Long receiverId;

    /** 接收方企业名称 */
    @Excel(name = "接收方企业名称")
    private String enterpriseName;

    /** 问卷名称 */
    @Excel(name = "问卷名称")
    private String questionnaireName;

    /** 0:未作答 1:作答 */
    @Excel(name = "0:未作答 1:作答")
    private Integer isAnswer=0;

    public void setQuestionnaireId(String questionnaireId) 
    {
        this.questionnaireId = questionnaireId;
    }

    public String getQuestionnaireId() 
    {
        return questionnaireId;
    }
    public void setEnterpriseId(String enterpriseId) 
    {
        this.enterpriseId = enterpriseId;
    }

    public String getEnterpriseId() 
    {
        return enterpriseId;
    }
    public void setReceiverId(Long receiverId) 
    {
        this.receiverId = receiverId;
    }

    public Long getReceiverId() 
    {
        return receiverId;
    }
    public void setEnterpriseName(String enterpriseName) 
    {
        this.enterpriseName = enterpriseName;
    }

    public String getEnterpriseName() 
    {
        return enterpriseName;
    }
    public void setQuestionnaireName(String questionnaireName) 
    {
        this.questionnaireName = questionnaireName;
    }

    public String getQuestionnaireName() 
    {
        return questionnaireName;
    }
    public void setIsAnswer(Integer isAnswer) 
    {
        this.isAnswer = isAnswer;
    }

    public Integer getIsAnswer() 
    {
        return isAnswer;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("questionnaireId", getQuestionnaireId())
            .append("enterpriseId", getEnterpriseId())
            .append("receiverId", getReceiverId())
            .append("enterpriseName", getEnterpriseName())
            .append("questionnaireName", getQuestionnaireName())
            .append("isAnswer", getIsAnswer())
            .toString();
    }
}
